package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.Menu;

import java.util.List;

public interface MenuService {
    public PageInfo<Menu> show(Integer pageNum, Integer pageSize,String keyword);
    public List<Menu> queryAll();
    public int add(Menu m);
    public int del(Integer id);
    public int upd(Menu m);
    public int delAll(Integer[] ids);
    public int openAll(Integer[] id);
    public int closeAll(Integer[] id);
}
